import { getlistApi  } from '../../api/xiaoqu'

export default {
    namespaced: true,
    state: () => ({
        list: []
    }),
    mutations: {
        SET_LIST(state, list) {
            state.list = list
        },
    },
    actions: {
        async getlist({ commit }, form) {
            const list = await getlistApi()
            commit('SET_LIST', list)
        },
       
    },
    getters: {},
    modules: {}
}